package org.example.myleet.p888;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(Assert.isPass(new int[]{1,2}, solution.fairCandySwap(new int[]{1,1}, new int[]{2,2})));
        Assert.isTrue(Assert.isPass(new int[]{1,2}, solution.fairCandySwap(new int[]{1,2}, new int[]{2,3})));
        Assert.isTrue(Assert.isPass(new int[]{2,3}, solution.fairCandySwap(new int[]{2}, new int[]{1,3})));
        Assert.isTrue(Assert.isPass(new int[]{5,4}, solution.fairCandySwap(new int[]{1,2,5}, new int[]{2,4})));
        Assert.isTrue(Assert.isPass(new int[]{7,5}, solution.fairCandySwap(new int[]{1,1,1,1,1,7}, new int[]{2,1,5})));
    }
}
